﻿/****************************************************************************
* Copyright (c) 2018Microsoft All Rights Reserved.
* CLR版本： 4.0.30319.42000
*机器名称：SHOUZHEN
*公司名称：Microsoft
*命名空间：MSD.WL.Site.Models
*文件名：  Customer
*版本号：  V1.0.0.0
*唯一标识：b5b1eac9-af43-4f44-b4cd-d8303d1ed1f2
*当前的用户域：SHOUZHEN
*创建人：  Administrator
*电子邮箱：gsz8865784@126.com
*创建时间：2018/12/24 20:16:35

*描述：
*
*=====================================================================
*修改标记
*修改时间：2018/12/24 20:16:35
*修改人： Administrator
*版本号： V1.0.0.0
*描述：
*
*****************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace MSD.WL.Site.Models
{
    public class Customer
    {
        public int ID { get; set; }

        [Display(Name = "客户代码")]
        [StringLength(10)]
        public string CustomerCode { get; set; }

        [Display(Name = "客户名称")]
        [StringLength(50)]
        public string CustomerName { get; set; }

        [Display(Name = "业务员")]
        [StringLength(10)]
        public string EmployeeCode { get; set; }

        [Display(Name = "法人")]
        [StringLength(10)]
        public string AtrMan { get; set; }

        [Display(Name = "联系方式")]
        [StringLength(13)]
        public string TelephoneCode { get; set; }

        [Display(Name = "传真")]
        [StringLength(13)]
        public string FaxCode { get; set; }

        [Display(Name = "邮编")]
        [StringLength(6)]
        public string PostCode { get; set; }

        [Display(Name = "Email")]
        [StringLength(20)]
        public string Email { get; set; }

        [Display(Name = "联系人")]
        [StringLength(10)]
        public string Linkman { get; set; }

        [Display(Name = "网址")]
        [StringLength(50)]
        public string Url { get; set; }

        [Display(Name = "地址")]
        [StringLength(100)]
        public string Address { get; set; }

        [Display(Name = "客户等级")]
        [StringLength(10)]
        public string GradeCode { get; set; }

        [Display(Name = "客户状态")]
        [StringLength(10)]
        public string StateCode { get; set; }

        [Display(Name = "信用等级")]
        [StringLength(10)]
        public string CreditCode { get; set; }

        [Display(Name = "行业")]
        [StringLength(10)]
        public string TradeCode { get; set; }
    }
}